package com.ytjj.quartz.dao;

import com.ytjj.qmyx.mall.model.ChannelStatisticsNew;
import org.apache.ibatis.annotations.Param;

public interface ChannelStatisticsNewDao {


    int insert(ChannelStatisticsNew record);

    int deleteByCurDay(@Param("channelUid") Integer channelUid,@Param("channel") String channel, @Param("startTime") String startTime, @Param("endTime") String endTime);

    int deleteByDay(@Param("startTime") String startTime, @Param("endTime") String endTime);

    ChannelStatisticsNew selectStatistics(@Param("channelUid") Integer channelUid,@Param("channel") String channel, @Param("startTime") String startTime, @Param("endTime") String endTime);
}
